<template>
  <view class="page" :style="themeColor">
    <view class="flex benben-position-layout flex flex-wrap align-center aboutUs_flex_0"
      :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
      <view class='flex flex-wrap align-center justify-between flex-sub aboutUs_fd0_0'>
        <view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
          <text class='fu-iconfont2  aboutUs_fd0_0_c0_c0' >&#xE794;</text>
        </view>
        <view class='flex flex-wrap align-stretch justify-center flex-sub'>
          <text class='aboutUs_fd0_0_c1_c0'>关于我们</text>
        </view>
        <view class='flex flex-wrap align-center aboutUs_fd0_0_c2'>
        </view>
      </view>

    </view>
    <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <view class="flex flex-direction flex-wrap align-center aboutUs_flex_1">
        <view class='flex flex-wrap align-center aboutUs_fd1_0'>
          <image class='aboutUs_fd1_0_c0' mode="aspectFill"
            src='../../../static/images/logo.png'></image>
        </view>
        <view class='flex flex-wrap align-center aboutUs_fd1_1'>
          <text>当前版本</text>
          <text>1.0.0</text>
        </view>
      </view>
      <view class="flex flex-direction align-center benben-position-layout flex aboutUs_flex_2">
        <text class='aboutUs_fd2_0'>Copyright ©天天健康 All rights reserved.</text>
      </view>
      <view :style="{height: '168rpx'}"></view>
  </view>
</template>
<script>
  export default {
    components: {},


    data() {
      return {
        select_type: {},
        appVersion: '',
        isShow: true
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },
    },
    watch: {},
    onLoad(options) {
      // this.getabout()
      // uni.getSystemInfo({
      //   success: res => {
      //     const appVersion = res.appVersion;
      //     console.log(res, 'res')
      //     this.appVersion = appVersion
      //   }
      // });
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {
     // this.$store.dispatch('getAppVersion') // 更新版本号
    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //关于我们
      async getabout() {
        uni.showLoading({       
        })
        let res = await this.$api.post(global.apiUrls.post6513a0915a4cb , {
        })
        // this.isShow = false;
        if (res.data.code != 1) {
          this.$message.info(res.data.msg)
          return
        }
        this.select_type = res.data.data
        uni.hideLoading()
        console.log(this.select_type, 'this.select_type')
      },
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: #fff;
    background-size: 100% auto !important;
  }

  .aboutUs_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .aboutUs_fd0_0_c2 {
    width: 32rpx;
    height: 32rpx;
  }

  .aboutUs_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 500;
    color: #333;
    line-height: 88rpx;
  }

  .aboutUs_fd0_0_c0_c0 {
    font-size: 32rpx;
    font-weight: 500;
    color: #333;
    line-height: 88rpx;
  }

  .aboutUs_fd0_0 {
    margin: 0rpx 32rpx 0rpx 32rpx;
  }

  .aboutUs_flex_1 {
    padding: 0rpx 0rpx 0rpx 0rpx;
  }

  .aboutUs_fd1_1 {
    padding: 32rpx 0rpx 0rpx 0rpx;
    font-size: 28rpx;
    color: #333;
    font-weight: 400;
  }

  .aboutUs_fd1_0_c0 {
    width: 172rpx;
    height: 172rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
  }

  .aboutUs_fd1_0 {
    width: 172rpx;
    height: 172rpx;
    margin: 90rpx 0rpx 0rpx 0rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
  }

  .aboutUs_flex_2 {
    background: #fff;
    width: 750rpx;
    height: 168rpx;
    overflow: hidden;
    z-index: 10;
    bottom: calc(0rpx + var(--window-bottom));
    background-size: 100% auto !important;
  }

  .aboutUs_fd2_0 {
    color: #BFBFBF;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 45rpx;
  }
</style>
